package com.quartz.SpringBootQuartz.service;

import com.quartz.SpringBootQuartz.entity.Cron;
import com.quartz.SpringBootQuartz.entity.JobEntity;

import java.util.List;
import java.util.Map;

public interface JobEntityService {
    List<JobEntity> findByCriteria(JobEntity jobEntity) throws Exception;
    List<String> findGroups() throws Exception;
    List<String> findStatus()throws Exception;
    Integer deleteById(Integer id)throws Exception;
    Integer updateById(JobEntity jobEntity)throws Exception;
    Integer add(JobEntity jobEntity)throws Exception;
    List<Cron> findCrons()throws Exception;
    List<Integer> findId(Integer id)throws Exception;
    List<JobEntity> findById(Integer id)throws Exception;
}
